import {createApp} from 'vue'
import App from './App.vue'
// 1. 引入你需要的组件
import Vant from 'vant';
// 2. 引入组件样式
import 'vant/lib/index.css';
import Index from "./pages/Index.vue"
import TeamPage from "./pages/TeamPage.vue"
import UserPage from "./pages/UserPage.vue"
import * as VueRouter from 'vue-router';
import routes from "./config/router";


const app = createApp(App);
const router = VueRouter.createRouter({
    history: VueRouter.createWebHashHistory(),
    routes, // `routes: routes` 的缩写
})

app.use(Vant)
app.use(router)


app.mount('#app')
